const mutations = {
  c_page: function (state, c) {
    state.currentpage = c 
  },
  articleindex: function (state, i) {
    state.articleindex = i
  },
  changeUploadbar: function (state) {
    if (state.showUpload == false) {
      state.showUpload = true
    } else {
      state.showUpload = false
    }
  },
  bread: function (state, n) {
    state.b2 = n
    // console.log(n)
  }
}

export default mutations